package com.dc.dao.http;

import com.dc.entity.http.ElectricIdNameEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;
import java.util.Set;


public interface ElectricIdNameDao extends JpaRepository<ElectricIdNameEntity, Long>, JpaSpecificationExecutor<ElectricIdNameEntity> {

    ElectricIdNameEntity findByMfId(String mfId);

    List<ElectricIdNameEntity> findByMfIdIn(Set<String> mfIds);
}
